[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Converts a KeyValuePair structure into a Pair. The
First element gets the Key, and the Second element gets the Value.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public static explicit operator Pair<TFirst, TSecond> ( KeyValuePair<TFirst, TSecond> keyAndValue ) |
Visual Basic (Declaration) |
---|
Public Shared Narrowing Operator CType ( _ keyAndValue As KeyValuePair(Of TFirst, TSecond) _ ) As Pair(Of TFirst, TSecond) |
Visual C++ |
---|
static explicit operator Pair<TFirst, TSecond> ( KeyValuePair<TFirst, TSecond> keyAndValue ) |
Parameters
- keyAndValue
- KeyValuePair<(Of <TFirst, TSecond>)>
The KeyValuePair to convert.
Return Value
The Pair created by converted the KeyValuePair into a Pair.See Also
Pair<(Of <TFirst, TSecond>)> Structure
Wintellect.PowerCollections Namespace